<?php

namespace MoChat\App\Sales\Contract;

interface WorkEmployeeContract
{
    /**
     * @param $name
     * @param $workDepartmentId
     * @param $type
     * @param $id
     * @return array
     */
    public function getSelect($name,$workDepartmentId,$type,$id): array;

    /**
     * 通过id获取所有员工
     * @param $ids
     * @return mixed
     */
    public function getAllWorkEmployeeByIds($ids);

    /**
     * 获取单条详情
     * @param $id
     * @param $filed
     * @return mixed
     */
    public function getDetail($id,$filed=['*']);

    /**
     * @param $corpId
     * @return mixed
     */
    public function getCountByCorpId($corpId);
}